package com.cheng.cms.service.impl;

import com.cheng.cms.domain.Parking;
import com.cheng.cms.mapper.ParkingDao;
import com.cheng.cms.service.ParkingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ParkingServiceImpl implements ParkingService
{
    @Autowired
    private ParkingDao parkingDao;

    @Override
    public List<Parking> selectAllParking() {
        return parkingDao.selectAllParking();
    }

    @Override
    public List<Parking> selectAllParkingByCondition(Map<String, String> mapCondition) {
        return parkingDao.selectAllParkingByCondition(mapCondition);
    }
}
